package com.gnerv.battle.boot.project.guard.business;

import com.gnerv.battle.boot.common.base.model.RestResult;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectCreateDTO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectDTO;
import com.gnerv.battle.boot.project.guard.model.dto.MonitorProjectUpdateDTO;

import java.util.List;

/**
 * @author ligen
 */
public interface MonitorProjectBusiness {

    RestResult<Void> create(MonitorProjectCreateDTO monitorProjectCreateDTO);

    RestResult<Void> deleteByUkId(String ukId);

    RestResult<Void> updateByUkId(MonitorProjectUpdateDTO monitorProjectUpdateDTO);

    RestResult<MonitorProjectDTO> selectByUkId(String ukId);

    RestResult<List<MonitorProjectDTO>> listByName(String name, Integer page, Integer size);
}
